package com.task.manager.config.quartz;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.task.manager.service.quartz.ScheduleTriggerService;

@Component
public class QuartzIniter {
	
	@Autowired
	private ScheduleTriggerService scheduleTriggerService;
	
	@PostConstruct
	public void init() {
		scheduleTriggerService.refreshTrigger();
	}
}
